package com.axsy.ddoo.bean

data class ProductInfo(
    val applyAmount: Float?=null,
    val applyCoolDownHours: Int?=null,
    val availableAmount: Int?=null,
    val billingType: Int?=null,
    val canApplyNow: Int?=null,
    val creditLine: Float?=null,
    val extendDays: String?=null,
    val homeAmount: Int?=null,
    val interestRate: Double?=null,
    val limitDays: Int?=null,
    val minApplyAmount: Int?=null,
    val nextApplyDate: String?=null,
    val noPenaltyDays: Int?=null,
    val penaltyInterestRate: Double?=null,
    val periods: Int?=null,
    val postLoanFeeSettings: List<PostLoanFeeSetting>?=null,
    val preLoanFeeSettings: List<Any>?=null,
    val preLoanRate: Double?=null,
    val productDesc: String?=null,
    val productId: Int?=null,
    val productIndex: Int?=null,
    val productName: String?=null,
    val repayOrder: Int?=null,
    val totalDayRate: Double?=null,
    val totalLimitDays: Int?=null,
    val totalRate: Double?=null,
    val waitForApply: Int?=null,
) {

    data class PostLoanFeeSetting(
        val chargeType: Int?=null,
        val deleted: Boolean?=null,
        val fixedCharge: Double?=null,
        val name: String?=null,
        val productId: Int?=null,
        val rate: Double?=null,
        val tid: Int?=null,
    )
}